<?php $staticpath = component_static_path('admin/logininfo', 'widget'); ?>
<style>
    .widget-logininfo {
        height: 80px;
        background-image: url("<?php echo $staticpath ?>images/blue_bg.png");
        border-radius: 4px;
        color: #fff;
        background-size: cover;
    }
</style>
<div class="widget-logininfo  rc-flex rc-flex-justify-between rc-flex-vertical-center widget" widget="" canset="false" style="background: url(/component/widget/admin/logininfo/static/images/blue_bg.png);">
    <div class="rc-pagepadding">

        <div>
            <?php $admininfo = get_login_admin() ?>
            <span style="font-weight: 600;"> <?php echo $admininfo['username'] == '' ?  $admininfo['phone'] :  $admininfo['username'] ?> </span> <span>你好！祝您开心每一天</span>
        </div>
        <div style="margin-top: 10px;">
            登录于： <?php echo $lastlogininfo['logintime']; ?> 登录IP:<?php echo $lastlogininfo['loginip']; ?>
        </div>
    </div>
    <div>
        <img src="<?php echo $staticpath ?>images/fenxi.png" style="height: 80px;" />
    </div>
</div>